<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <link rel="shortcut icon" href="static/favicon.ico" />
        <title>Coding</title>
    </head>
    <style>
        #div1{
            width: 100px;
            height: 100px;
            background: skyblue;
            text-align: center;
            line-height: 100px
        }
    </style>

    <body>
        <h1>Hello ECMAScript</h1>
        <h2>debounce</h2>
        <input id="input1" type="text">
        <h2>throttle</h2>
        <div id="div1" draggable="true">可拖拽</div>

    </body>

</html>